#include "stdafx.h"

ADODB::_RecordsetPtr CloneRS(const ADODB::_RecordsetPtr& src)
{
    ADODB::_RecordsetPtr spRS;
    spRS = src->Clone(ADODB::adLockUnspecified);
    spRS->AbsolutePosition = src->AbsolutePosition;
    return spRS;
}